package com.legoo.studaychineseonline.bean;

public class ActivityJoinBean {

    /**
     * tag :
     * code : 0
     * data : {"client_activity":{"id":"5c95a350edf3292a7ce5b474","client":{"email":"m@acord.cn","username":"mlzx61","id":"5c92ed49edf3293170fd52ea","nickname":"这是一个昵称","type":"student","phone":"+86-13936591067","icon":""},"activity":{"name_zh":"活动一","id":"5c9497b2edf329377cf872a6","title_image":"pic/activity/20190322/3ae6665c-4c9c-11e9-86cb-309c23d6f138.jpeg","name_en":"Activity A","type":"chat","name_py":"huodongyi"},"state":"init"}}
     * message : success
     */

    private String tag;
    private int code;
    private DataBean data;
    private String message;

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        /**
         * client_activity : {"id":"5c95a350edf3292a7ce5b474","client":{"email":"m@acord.cn","username":"mlzx61","id":"5c92ed49edf3293170fd52ea","nickname":"这是一个昵称","type":"student","phone":"+86-13936591067","icon":""},"activity":{"name_zh":"活动一","id":"5c9497b2edf329377cf872a6","title_image":"pic/activity/20190322/3ae6665c-4c9c-11e9-86cb-309c23d6f138.jpeg","name_en":"Activity A","type":"chat","name_py":"huodongyi"},"state":"init"}
         */

        private ClientActivityBean client_activity;

        public ClientActivityBean getClient_activity() {
            return client_activity;
        }

        public void setClient_activity(ClientActivityBean client_activity) {
            this.client_activity = client_activity;
        }

        public static class ClientActivityBean {
            /**
             * id : 5c95a350edf3292a7ce5b474
             * client : {"email":"m@acord.cn","username":"mlzx61","id":"5c92ed49edf3293170fd52ea","nickname":"这是一个昵称","type":"student","phone":"+86-13936591067","icon":""}
             * activity : {"name_zh":"活动一","id":"5c9497b2edf329377cf872a6","title_image":"pic/activity/20190322/3ae6665c-4c9c-11e9-86cb-309c23d6f138.jpeg","name_en":"Activity A","type":"chat","name_py":"huodongyi"}
             * state : init
             */

            private String id;
            private ClientBean client;
            private ActivityBean activity;
            private String state;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public ClientBean getClient() {
                return client;
            }

            public void setClient(ClientBean client) {
                this.client = client;
            }

            public ActivityBean getActivity() {
                return activity;
            }

            public void setActivity(ActivityBean activity) {
                this.activity = activity;
            }

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }

            public static class ClientBean {
                /**
                 * email : m@acord.cn
                 * username : mlzx61
                 * id : 5c92ed49edf3293170fd52ea
                 * nickname : 这是一个昵称
                 * type : student
                 * phone : +86-13936591067
                 * icon :
                 */

                private String email;
                private String username;
                private String id;
                private String nickname;
                private String type;
                private String phone;
                private String icon;

                public String getEmail() {
                    return email;
                }

                public void setEmail(String email) {
                    this.email = email;
                }

                public String getUsername() {
                    return username;
                }

                public void setUsername(String username) {
                    this.username = username;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }

                public String getPhone() {
                    return phone;
                }

                public void setPhone(String phone) {
                    this.phone = phone;
                }

                public String getIcon() {
                    return icon;
                }

                public void setIcon(String icon) {
                    this.icon = icon;
                }
            }

            public static class ActivityBean {
                /**
                 * name_zh : 活动一
                 * id : 5c9497b2edf329377cf872a6
                 * title_image : pic/activity/20190322/3ae6665c-4c9c-11e9-86cb-309c23d6f138.jpeg
                 * name_en : Activity A
                 * type : chat
                 * name_py : huodongyi
                 */

                private String name_zh;
                private String id;
                private String title_image;
                private String name_en;
                private String type;
                private String name_py;

                public String getName_zh() {
                    return name_zh;
                }

                public void setName_zh(String name_zh) {
                    this.name_zh = name_zh;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getTitle_image() {
                    return title_image;
                }

                public void setTitle_image(String title_image) {
                    this.title_image = title_image;
                }

                public String getName_en() {
                    return name_en;
                }

                public void setName_en(String name_en) {
                    this.name_en = name_en;
                }

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }

                public String getName_py() {
                    return name_py;
                }

                public void setName_py(String name_py) {
                    this.name_py = name_py;
                }
            }
        }
    }
}
